import { DefaultLayout, ParentLayout } from '@/layout'
import type { Route } from '@/layout/components'

export default {
  path: '/mrNearbyStores',
  name: 'MrNearbyStores',
  component: DefaultLayout,
  redirect: '/mrNearbyStores/index',
  meta: {
    title: 'MR附近门店',
    icon: 'menu-mr',
    roles: ['mr附近门店'],
    sort: 23,
    alwaysShow: true
  },

  children: [
    {
      path: 'mrNearbyStoresList',
      name: 'MrNearbyStoresList',
      component: () => import('@/views/mrNearbyStores'),
      meta: { title: '附近门店维护', roles: ['附近门店维护'] }
    },
    {
      path: 'mrStoresEdit',
      name: 'MrStoresEdit',
      component: () => import('@/views/mrNearbyStores/mrStoresEdit'),
      meta: { title: '新增/编辑门店', hidden: true }
    }
  ]
} as Route
